package com.xy.biz.fd.domain.enums;

import com.xy.lang.enums.CodeEnum;
import com.xy.lang.enums.LongCodeEnum;

/**
 * @author Greekn Zhang
 * @date 2021/12/6 15:13
 * @description
 */
public enum RepositoryTypeEnum implements CodeEnum {

    BUILT_IN(1, "内置知识库"),
    CUSTOM(2, "自定义知识库");

    private int code;
    private String desc;

    RepositoryTypeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

}
